package com.kfm.pm;

public class QQCY {

    private String name;
    private int age;
    private String hobby;

    public QQCY(String name, int age, String hobby) {
        this.name = name;
        this.age = age;
        this.hobby = hobby;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    @Override
    public String toString() {
        return "QQCY{" +
                "名字：'" + name + '\'' +
                ", 年龄：" + age +
                ", 爱好：'" + hobby + '\'' +
                '}';
    }
}
